package bll;

public class Enums {

	public enum AccountStatus {
		Active(0, "Active"), Locked(1, "Locked");

		private final int _id;
		private final String _name;

		AccountStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {
			// TODO : get from resource files
			return _name;
		}
	}

	public enum AccountType {
		Staff(0, "Staff"), Admin(1, "Administrator"), ClientManager(2,
				"Client Manager"), ProjectManager(3, "Project Manager"), CostManager(
				4, "Cost Manager"), Director(5, "Director");

		private final int _id;
		private final String _name;

		AccountType(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {
			// TODO : get from resource files
			return _name;
		}
	}

	public enum ProjectStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		ProjectStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum QuotationItemStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		QuotationItemStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum QuotationStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		QuotationStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum AgendaStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		AgendaStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum AgendaItemStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		AgendaItemStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	// public enum AgendaStatus {
	// InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");
	//
	// private final int _id;
	// private final String _name;
	//
	// AgendaStatus(int id, String name) {
	// this._id = id;
	// this._name = name;
	// }
	//
	// public int getId() {
	// return _id;
	// }
	//
	// public String getName() {
	//
	// // TODO : get from resource files
	//
	// return _name;
	// }
	// }

	public enum ChecklistItemStatus {
		New(0, "New"), ToDo(1, "TODO"), InProgress(2, "In progress"), Canceled(
				3, "Cancelled"), Submitted(4, "Submitted"), Rejected(5,
				"Rejected"), Done(2, "Done");

		private final int _id;
		private final String _name;

		ChecklistItemStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum ChecklistStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		ChecklistStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum PhaseStatus {
		InProgress(0, "In progress"), ToDo(1, "TODO"), Done(2, "Done");

		private final int _id;
		private final String _name;

		PhaseStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum PurchaseStatus {
		New(0, "New"), Raised(1, "Raised"), Approved(2, "Approved"), Denied(3,
				" Denied"), Canceled(4, " Canceled"), Ordered(5, "Ordered"), Delivering(
				6, "Delivering"), Delivered(7, "Delivered"), Paid(8, "Paid"), Invoiced(
				9, " Invoiced"), Closed(10, " Closed");

		private final int _id;
		private final String _name;

		PurchaseStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum PurchaseItemStatus {
		Ordered(0, "Ordered"), Delivering(1, "Delivering"), Delivered(2,
				"Delivered"), Late(3, " Late"), Canceled(4, " Canceled");

		private final int _id;
		private final String _name;

		PurchaseItemStatus(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum Gender {
		Male(1, "Male"), Female(2, "Female");

		private final int _id;
		private final String _name;

		Gender(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

	public enum Menu {
		Home(1, "HOME"),

		PM(2, "PM"), PM_NewProject(21, "New Project"), PM_Phase(22, "Phase"), PM_Quotation(
				22, "Quotation"), PM_Agenda(23, "Agenda"), PM_Checklist(24,
				"Checklist"), PM_Event(25, "Event"),

		CRM(3, "CRM"), CRM_Person(31, "Person"), CRM_Client(32, "Client"), CRM_Competitor(
				33, "Competitor"), CRM_Broker(34, "Broker"),

		HRM(4, "HRM"), HRM_Employee(41, "Employee"), HRM_Workload(42,
				"Workload"),

		SCM(5, "SCM"), SCM_Product(51, "Product"), SCM_Service(52, "Service"), SCM_Purchase(
				53, "Purchase"), SCM_Supplier(54, "Supplier"), SCM_Supply(55,
				"Supply"),

		CMS(6, "CMS"), CMS_Document(61, "Document"), CMS_DocumentType(62,
				"DocumentType"),

		FAM(7, "FAM"), FAM_Cashflow(7, "Cashflow"), FAM_Receivable(7,
				"Receivable"),

		Others(8, "OTHERS"), Others_Company(81, "OTHERS"), Others_Venue(82,
				"OTHERS"), Others_Unit(82, "OTHERS"), Others_Place(84, "OTHERS");

		private final int _id;
		private final String _name;

		Menu(int id, String name) {
			this._id = id;
			this._name = name;
		}

		public int getId() {
			return _id;
		}

		public String getName() {

			// TODO : get from resource files

			return _name;
		}
	}

}
